<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>文档管理</title>
    {include file="/admin/head"/}
    <style>
        .son td{
            padding-left: 25px;
        }
        .son-son td{
            padding-left: 50px;
        }
    </style>
</head>
<body leftmargin="8" topmargin="8" background='/static/images/allbg.gif'>
<div class="x-nav">
        <span class="layui-breadcrumb">
          <a href="">Index</a>
          <a href="">Demonstrate</a>
          <a>
            <cite>Navigation</cite></a>
        </span>
    <a class="layui-btn layui-btn-primary layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon" style="line-height:38px">ဂ</i></a>
</div>
<div class="x-body">
    <div class="layui-row">
        <form class="layui-form layui-col-md12 x-so">
        </form>
    </div>
    <xblock>
        <button class="layui-btn" onclick="x_admin_show('Add导航','/admin/nav/info?id=0&lang={$lang}')">
            <i class="layui-icon"></i>Add
        </button>
    </xblock>
    <table class="layui-table">
        <thead>
        <tr>
            <th>语言</th>
            <th>Option</th>
        </tr>
        </thead>
        <tbody>
        {volist name="list" id="value"}
        <tr>

        </tr>
        {/volist}
        </tbody>
    </table>
</div>
<script>
    /*Delete*/
    function member_del(obj,id){
        layer.confirm('Confirm要Delete吗？',function(index){
            //发异步Delete数据
            $(obj).parents("tr").remove();
            post('/sys/nav/delete?id=' + id,{},'message');
            layer.msg('已Delete!',{icon:1,time:1000});
        });
    }
    function message(){
        location.reload();
    }
</script>
</body>
</html>